package com.hqyj.javaSpringCloudWeb.modules.account.service;

import com.hqyj.entity.account.User;
import com.hqyj.entity.common.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description UserService
 * @Author HymanHu
 * @Date 2021/9/6 9:09
 */
public interface UserService {

    Result<User> login(HttpServletRequest request, User user);

    Result<User> insertUser(HttpServletRequest request, User user);

    void logout(HttpServletRequest request);
}
